import React, { Component } from 'react';
import {Route,Switch} from 'react-router-dom'
import Footer from "../components/Footer/footer"
import Habit from "../components/Habit/habit"
import See from '../components/See/see';
import Login from '../components/Login/login'

class index extends Component {
    render() {
        return (
            <Switch>
                <Route exact path="/" component={Footer} />
                <Route exact path="/habit" component={Habit} />
                <Route exact path="/see" component={See} />
                <Route path="/login" component={Login} />
            </Switch>
        );
    }
}

export default index;
